#!/usr/bin/python
# -*- coding: UTF-8 -*-

#the output data classify

LIST = "List"
LIST_VALUE = 1

Map = "Map"
MAP_VALUE = 2


#
# Converts the string data to int data
# @param [classifyStr] the string classify
# @return the int classify
#
def ConvertToInt(classifyStr):
    if LIST == classifyStr:
        return LIST_VALUE
    elif Map == classifyStr:
        return MAP_VALUE
    else:
        return LIST_VALUE